added basic js and TODOs