Note to self: javascript is different from PHP.