add (document).ready to home.js, change application.html layout back to ...

...dropdown