Update Scale.js

Add ability to specify template for scale HTML content