lol, stupid javascript