Removed trailing space; minified local var declaration; removed JavaScript URL