javascript finally doing something that sort of starts to look like it might someday make sense :)