app works ok with required js