working on js for exceptions #98
modifing status exceptions #98
removed an extra line #98
removed unwanted functions added before #98
added some functions to handle exceptions #98