changes styles, pass data from view to templates
js fix for show focus div