Changes to js format