Add error function to quickly extend new js errors