Fixes spelling on function name
Removes unused premiumOnly flag
Improves formatting and adds setJsArrObject function in ModArray