Automatic JS annotation generator