fix bugs javascript version and add Python version