added first javascript tests