add JS gem (depend on platform)