home view and some js