add ability to specify :javascript_flag to enable javascript processing

add new variable to the passthrough from rails helper