Refactoring: Moved js initialiazation routines into the imscp.js file +++