added declaration for $pyjs