Update e3.js

Add state to list of things and add jquery uppercase first letter function