js assignment

Final refining done