pass options including javascript-engine when resource generator invokes view generator
Merge pull request #375 from wstrinz/fix_resource_generator_js_engine

Pass options when resource generator invokes view generator