Avoid JavaScript deprecation warnings in user module

Simply link any functions in mw.user to here

Bug: 65643
Change-Id: I514741bf73d5bc2fb5b8815eaf47f2c6f3471675
Merge "Avoid JavaScript deprecation warnings in user module"