Added new JS error.
Added section on initConfig.
Switched out the hard coded appId for the constant.