added new js scripts and config for apps head.js