Adds JS foundation.