added errors returning when including js script is not found