Made the main file .js to make it work for me.