Framework for assessing JavaScript competency