Update codestyling and remove uses of JRequest