front-end fixes

-website starts to fetch restaurants as the document is ready
-fixed issue with the restaurants boxes caused by the unequal height
-did some code-refactoring in app.js