Changed controller format to handle minify javascript file.