Fixing misplaced self variable in issues_resource.js