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