adds factories and a javascript quiz