implemented injecting js inside phantom js