added form posting to server with validation

removed few unused js files.