Removes .js from paths config