Revert "removed eronious services.js in views"

This reverts commit 71b447d68f59f3aec04e6c19eae8487aa49d59fc.