Make JS extensions available in all contexts.

Task-number: QBS-440
Change-Id: Iaeb92c2c389293c9a4030841ee6bcb483f808a9e
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>