basic js revisited