Setin gthe js file as resource