Removed empty line and updated JavaScript files