Refactor (foundry-entry): Update javascript and some markup to correct bugs from earlier refactoring.
Merge pull request #30 from sparkbox/foundry-refactor

Refactor (foundry-entry): Update javascript and some markup