Handle case where locale not defined in /etc/sysconfig/i18n
Added support for Javascript hook
Merge branch 'master' of github.com:clearos/framework