Fixed old JS version