Update fraction.js

This will prevent the error Uncaught ReferenceError: Invalid left-hand side in assignment from popping up in Chrome, IE, Opera, and Safari.