changed all class instances to qClassName for clarity. Added a javascript card class.