Issue #495 : Refactor JS widgets to use the correct namespace

Fix for : Refactor JS widgets to use the correct namespace (#495)