Fixes #839 - Warning Level javascript issue