Mock functions for the Hive Javascript API