JavaScript code is now generated by PHP.