Formatted main namespace

Added load/unload javascript files methods