stupid javascript...