You can enable Javascript on a Mac by going into your browser's Preferences menu. In Safari, you'll find the Javascript option in the Security tab.
You can set your Instagram account to remind you to take breaks from the app after you hit a daily or one-time limit.