compressed .js files, fixed templates