484 adds applicationjs

Fixes #484 and Fixes #465