Add javascript profiles documentation