Extending functionality to allow custom JS libraries

git-svn-id: http://sunny.svnrepository.com/svn/sunny-side-up-general/advertisements/trunk@5795 7b40dde9-fc51-43d4-b609-63a66f0a0cee
Fixing minor issue

git-svn-id: http://sunny.svnrepository.com/svn/sunny-side-up-general/advertisements/trunk@5796 7b40dde9-fc51-43d4-b609-63a66f0a0cee