javascript version, php typo fix