fixed missing .js file extension