Correcting js file linkage