Javascript back-end mocking library