added feedback to questions and refactored javascript integration specs