add Javascript view hook
add Css view hook