Changes

Changed functions.js to theme.js and added some comments