bop: put graphic-specific js in the bop file