Consolidate the backgroundJS file

Version 2.1.8