Update scripts.js

Added onclick event for menu links.