A light-weight JavaScript function to implement Overrides into js.