In view method buildJS was not calling