Javascript Interface Abstract Notation