add ability to specify :javascript_flag to enable javascript processing