frameworkless basic js todo