add javascript view hook
add css view hook
improve forms