Minifying main JS file and changing path to it in main template