Added a JS hack