fix sequential execution problem
fix javascript quote issues