Errors in my previous code

I noticed a bunch of errors from my previous code made it into front end components, so instead of pushing to those files I figured I would go the pull request route.  Also because the file was edited 30 mins ago and I didn't want to conflict if it was still being worked on.