A practical JavaScript project prototype