integrate chart previews
jshint