Some work on JS side to enabling backbone sync