Clean up some js