I'm just sitting here cleaning up javascript