change custom js model