Needs to test javascript method thingys.