Js file not getting loaded in html page But works fine when doing refresh in the server side

Js file not getting loaded in html page But works fine when doing refresh in the server side

Hi,
I am developing an app using jquery mobile am new to this jquery mobile. i am facing one issue that is i am about to use the js file which is there in the assets folder i have also given script tag into my html whenever i tyr to see the html page in the browser js file is getting loaded properly for the very first and everthing working fine  locally .Once i place my files in server the above mentioned flow not working properly .probably i am not getting the js file in the source folder when i see the html page for the first time but when i do refresh i am getting the js file.Please do help me to solve the issue.kindly reply ASAP.

Thanks,
Nivetha Viswanathan.