making batman js work