Added JavaScript sanity test