Refactored 'JSArray' to its own module.