basic javascript tests added