Fix Issue #375: Potentially insecure code in Durandal example app