changed root files from coffee to js