clearing code to work on JS