make js ok