refactored loadScript to get callbacks as obj
Merge branch 'master' of github.com:mwaylabs/TMP2