Add assert JS/css functionality for use by codepen

Allows codepens to contain asserts with a pass or fail badge.
Add assert checker for NaN