Mobile javascript library