added offline versions of js files
added require js module loading