simply js f in Models