JS: Custom Object for Multiple Instances