moloDefine allows objects to be defined
Updated JS