js assignment

Final refining done
user class base approach, instead of accessing css directly