Update Base.js

Updating to current code from AndrewNeo/faextender