Moved the entry initialization javascript to its own function
Modularized the css for the entry page