Swapped some API code

Swapped some javascript code to work with the Vircurex API