js doc

1. action example and deprecated