moves mockdata to the javascript side