ChopJS: quick update to fix minor bugs

ChopJS: quick update to fix minor bugs