stop unnecessarily exposing functions from view/common.js