separate js files to mimic template/sass files. more code cleaning