Fixed JS compression issues