JS initialization support