The Sys class is not available under JS so compilation is failing for me on this line.