added fallbacks
added javascript target