Cleaned up JS file; added Enter search