100% javascript code coverage