Made BaseWeb.js init from it's self declaring function