Create animationWithFPS.js

This modular function will call run an animation update once a canvas element is found in the DOM, once activated it will attempt to run update, render and check functions from the Global scope.

It also allows you to update an element with the Frames Per Second if a element containing fps as an id is found in the DOM.