added basic js, frequency taskw