Applied JS and test