modified gist js for multiline