Shared.js

Created a Shared.js file, and modified the Options page slightly.