Added Documentation for JSPG & Simplified JavaScript.
Removed the "finally" clause from the try-catch construct.
Simplified the try-catch action.