modified server side codes to add some new functionality
separated js from index.html
added numeric.js plugin for validation