Cleaned up js quality