Update foreground.js

Updating file if anything was removed added for this type of foundation version please add it back.