Functional Basis
Small js update