refs #4225 fix js test in PhantomJS, will not work in browser... needs to be resolved. Tests should be green now