Cleaned up scripst.js