Cleaned up Javascript

Just clean up in general