javascript tests passed