Got a Get call working and made the js a bit prettier...