An extension to Backbone making it possible to program with Java-like runtime-enforced interfaces