fix for FF v26

module register call was broken causing errors on old firefox