a js library just for morden browser