Refs #4938 Adding test case which shows the error
this should fail the JavascriptTests travis build