Moved javascript testcases.