moving things around for new implementation
added ability to load additional scripts and made js libs load from config file