tidying up framework and installing localize.js