added a js errorhandler, and changed the way php handles errors
Error handling changes
Merge branch 'master' of https://github.com/chuz007/IHCTEAM