Changed Material form to use jQuery Ajax calls

isset() function added to check GET array. Removed javascript visibility
helper functions.
Fixed typo in http header