Upload pre-commit script for validate javascript.