Re-added javascript