make js more alike the other languages