cleaning up gay javascript shit