(finally) adding basic comments
Moved JavaScript to seperate file

Moved JavaScript for search box to seperate file