type="text/javascript" to index javascript files