started basic js day view code