controller refactor finished, upgrade of jquery