Add poltergist gem and prepare javascript test