Fixed build, fixed JSHint warning