js validation, added php files to build