now starting work on JS