place JS code into main.js and use file for future changes