Various ghetto javascripts