Updated demo to avoid jslint warning