Fixed production javascript compiling